package com.itheima01;

import java.util.Scanner;

public class ScannerDemo {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println("输入一个字符串");
        String line = sc.nextLine();
        String s1 = new String();
        String s2 = "abc";


//        s1.

        System.out.println("输入的数据为："+ line);
    }
}
